package com.arancia.codinglife.entity;

import java.io.Serializable;

public class People implements Serializable {
	public String name;
	public String phone;
	public Telephone telephone;

	public People(String name, String phone, Telephone telephone) {
		this.name = name;
		this.phone = phone;
		setTelephone(telephone);
	}

	public People(String name, String phone) {
		this.name = name;
		this.phone = phone;
	}

	public String getPhone() {
		return phone;
	}

	public String getName() {
		return name;
	}

	public Telephone getTelephone() {
		return telephone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public void setName(String name) {
		this.name = name;
	}

	public void setTelephone(Telephone telephone) {
		this.telephone = telephone;
	}
}
